import {request} from "../../request";

export function getAllocationstrategydetailById(id){
    return request({
        url:`/lswms/allocationstrategydetail/${id}`,
        method:'get'
    })
}


export function getAllocationstrategydetailPage(data){
    return request({
        url:'/lswms/allocationstrategydetail/page',
        method:'put',
        data:data
    })
}

export function putAllocationstrategydetail(data){
    return request({
        url:'/lswms/allocationstrategydetail',
        method:'put',
        data:data
    })
}
export function postAllocationstrategydetail(data){
    return request({
        url:'/lswms/allocationstrategydetail',
        method:'post',
        data:data
    })
}

export function deleteAllocationstrategydetail(data){
    return request({
        url:`/lswms/allocationstrategydetail`,
        method:'delete',
        data:data
    })
}
export function exportAllocationstrategydetail(data){
    return request({
        url:`/lswms/allocationstrategydetail/export`,
        method:'get',
        data:data,
        responseType:'blob'
    })
}
